Solved by abidlabs in post #2 
              
              
                Sorry about that! We’re fixing the bug but for now you can install a specific version of Gradio by adding lines like this at the top of your app.py file: 
import os
os.system("pip uninstall -y gradio")
os.system("pip install gradio==2.6.4")