szili2011 commited on
Commit
d5a7fa2
·
verified ·
1 Parent(s): b48aae6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -90,5 +90,5 @@ interface = gr.Interface(
90
  # Run the interface
91
  if __name__ == "__main__":
92
  tf.config.set_visible_devices([], 'GPU') # Disable GPU
93
- # --- THIS IS THE KEY FIX FOR THE ValueError ---
94
- interface.launch(share=True)
 
90
  # Run the interface
91
  if __name__ == "__main__":
92
  tf.config.set_visible_devices([], 'GPU') # Disable GPU
93
+ # --- FIX: Remove share=True for Hugging Face Spaces ---
94
+ interface.launch()