Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ def generate_text(input_text):
|
|
9 |
print(output)
|
10 |
return output['choices'][0]['text']
|
11 |
|
12 |
-
input_text = gr.inputs.Textbox(label="Enter your input text")
|
13 |
-
output_text = gr.outputs.Textbox(
|
14 |
|
15 |
gr.Interface(fn=generate_text, inputs=input_text, outputs=output_text, title="Alpaca GGML").launch()
|
|
|
9 |
print(output)
|
10 |
return output['choices'][0]['text']
|
11 |
|
12 |
+
input_text = gr.inputs.Textbox(lines= 10, label="Enter your input text")
|
13 |
+
output_text = gr.outputs.Textbox(label="Output text")
|
14 |
|
15 |
gr.Interface(fn=generate_text, inputs=input_text, outputs=output_text, title="Alpaca GGML").launch()
|