Get python version
Browse files
app.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
import argparse
|
|
|
3 |
# import os
|
4 |
# import torch
|
5 |
# from time import sleep
|
@@ -443,6 +444,7 @@ def subtify():
|
|
443 |
# Layout
|
444 |
gr.Markdown("""# Subtify""")
|
445 |
gr.Markdown("""# Subtify""")
|
|
|
446 |
# with gr.Row(variant="panel"):
|
447 |
# url_textbox = gr.Textbox(placeholder="Add video URL here", label="Video URL", elem_id="video_url", scale=1, interactive=True)
|
448 |
# copy_button = gr.Button(size="sm", icon="icons/copy.svg", value="", min_width="10px", scale=0)
|
|
|
1 |
import gradio as gr
|
2 |
import argparse
|
3 |
+
import sys
|
4 |
# import os
|
5 |
# import torch
|
6 |
# from time import sleep
|
|
|
444 |
# Layout
|
445 |
gr.Markdown("""# Subtify""")
|
446 |
gr.Markdown("""# Subtify""")
|
447 |
+
gr.Markdown(f"Python {sys.version_info.major}.{sys.version_info.minor}.{sys.version_info.micro}")
|
448 |
# with gr.Row(variant="panel"):
|
449 |
# url_textbox = gr.Textbox(placeholder="Add video URL here", label="Video URL", elem_id="video_url", scale=1, interactive=True)
|
450 |
# copy_button = gr.Button(size="sm", icon="icons/copy.svg", value="", min_width="10px", scale=0)
|