Spaces:
Running
Running
Update components/form.tsx
Browse files- components/form.tsx +1 -1
components/form.tsx
CHANGED
@@ -116,7 +116,7 @@ export const Form = ({ children }: { children: React.ReactNode }) => {
|
|
116 |
|
117 |
const streamer = new CallbackStreamer((value: string) => {
|
118 |
const percent = value === undefined ? 1 : value[0].length / max_length;
|
119 |
-
setStatusText(`Generating (${(percent * 100).toFixed()}%)...`);
|
120 |
setProgress(percent);
|
121 |
});
|
122 |
|
|
|
116 |
|
117 |
const streamer = new CallbackStreamer((value: string) => {
|
118 |
const percent = value === undefined ? 1 : value[0].length / max_length;
|
119 |
+
setStatusText(`Generating in your browser (${(percent * 100).toFixed()}%)...`);
|
120 |
setProgress(percent);
|
121 |
});
|
122 |
|