Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,8 +30,8 @@ def get_completion(prompt, model=llm_model):
|
|
| 30 |
)
|
| 31 |
return response.choices[0].message.content
|
| 32 |
|
| 33 |
-
def greet(
|
| 34 |
-
return get_completion(
|
| 35 |
|
| 36 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 37 |
iface.launch()
|
|
|
|
| 30 |
)
|
| 31 |
return response.choices[0].message.content
|
| 32 |
|
| 33 |
+
def greet(Question):
|
| 34 |
+
return get_completion(Question)
|
| 35 |
|
| 36 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
| 37 |
iface.launch()
|