Spaces:
Sleeping
Sleeping
Upload application.py with huggingface_hub
Browse files- application.py +0 -3
application.py
CHANGED
@@ -27,9 +27,6 @@ llm_chain = LLMChain(
|
|
27 |
def get_text_response(user_message,history):
|
28 |
response = llm_chain.predict(user_message = user_message)
|
29 |
return response
|
30 |
-
def get_image_response(user_message):
|
31 |
-
response = openai.Image.create( prompt=user_message)
|
32 |
-
return response
|
33 |
|
34 |
demo = gr.ChatInterface(get_text_response)
|
35 |
|
|
|
27 |
def get_text_response(user_message,history):
|
28 |
response = llm_chain.predict(user_message = user_message)
|
29 |
return response
|
|
|
|
|
|
|
30 |
|
31 |
demo = gr.ChatInterface(get_text_response)
|
32 |
|