Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ OPENAI_API_KEY = os.getenv("OPENAI_API_KEY")
|
|
| 8 |
|
| 9 |
counter = 1
|
| 10 |
|
| 11 |
-
def
|
| 12 |
global counter
|
| 13 |
counter += 1
|
| 14 |
return gr.Textbox.update(value=f"Question {counter}"+ input_text)
|
|
|
|
| 8 |
|
| 9 |
counter = 1
|
| 10 |
|
| 11 |
+
def generate_output_name(input_text):
|
| 12 |
global counter
|
| 13 |
counter += 1
|
| 14 |
return gr.Textbox.update(value=f"Question {counter}"+ input_text)
|