OppaAI commited on
Commit
670ecf3
·
verified ·
1 Parent(s): 4456cc8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -140,7 +140,7 @@ Respond in STRICT JSON ONLY:
140
  # ---------------------------------------------------
141
  # Gradio UI Function (NOW USES BASE64 STRING INPUT)
142
  # ---------------------------------------------------
143
- def gradio_ui_with_base64_fields(
144
  hf_token_input: str,
145
  robot_id_input: str,
146
  image_b64_input: str # Changed input type to a string (base64)
@@ -165,7 +165,7 @@ def gradio_ui_with_base64_fields(
165
 
166
 
167
  app = gr.Interface(
168
- fn=gradio_ui_with_base64_fields, # Use the new multi-input function for the UI
169
  inputs=[
170
  gr.Textbox(label="Hugging Face Token", lines=1),
171
  gr.Textbox(label="Robot ID", lines=1, value="unknown"),
 
140
  # ---------------------------------------------------
141
  # Gradio UI Function (NOW USES BASE64 STRING INPUT)
142
  # ---------------------------------------------------
143
+ def robot_watch(
144
  hf_token_input: str,
145
  robot_id_input: str,
146
  image_b64_input: str # Changed input type to a string (base64)
 
165
 
166
 
167
  app = gr.Interface(
168
+ fn=robot_watch, # Use the new multi-input function for the UI
169
  inputs=[
170
  gr.Textbox(label="Hugging Face Token", lines=1),
171
  gr.Textbox(label="Robot ID", lines=1, value="unknown"),