mgokg commited on
Commit
9abe4cd
·
verified ·
1 Parent(s): c76cc7e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -147,10 +147,10 @@ with gr.Blocks() as demo:
147
  system="you are a expert for json data and your job is to extract information from text and return a valid json object only. no text no explanations",
148
  api_name="/model_chat"
149
  )
150
- #result=gr.Markdown()
151
- dict_data = json.loads(result[1])
152
- #return result
153
- return dict_data
154
 
155
  with gr.Row():
156
  clearbutton = gr.Button("Clear")
 
147
  system="you are a expert for json data and your job is to extract information from text and return a valid json object only. no text no explanations",
148
  api_name="/model_chat"
149
  )
150
+ result[1]=gr.Markdown()
151
+ #dict_data = json.loads(result[1])
152
+ return result
153
+ #return dict_data
154
 
155
  with gr.Row():
156
  clearbutton = gr.Button("Clear")