Spaces:
Build error
Build error
Commit
·
53e30e9
1
Parent(s):
2579b4d
Add application file
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ def my_inference_function(Question):
|
|
| 19 |
response = llm(prompt, max_tokens=4000)['choices'][0]['text']
|
| 20 |
return response
|
| 21 |
|
| 22 |
-
gradio_interface =
|
| 23 |
fn = my_inference_function,
|
| 24 |
inputs = "text",
|
| 25 |
outputs = "text"
|
|
|
|
| 19 |
response = llm(prompt, max_tokens=4000)['choices'][0]['text']
|
| 20 |
return response
|
| 21 |
|
| 22 |
+
gradio_interface = gr.Interface(
|
| 23 |
fn = my_inference_function,
|
| 24 |
inputs = "text",
|
| 25 |
outputs = "text"
|