AkshayaKeerthi commited on
Commit
a62d1a3
·
verified ·
1 Parent(s): ab0f476

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -1,7 +1,7 @@
1
- from fastapi import FastAPI
 
2
 
3
- app = FastAPI()
4
-
5
- @app.get("/")
6
- def greet_json():
7
- return {"Hello": "World!"}
 
1
+ import sys
2
+ from PySide2.QtWidgets import QApplication, QLabel
3
 
4
+ app = QApplication(sys.argv)
5
+ label = QLabel("Hello, PySide!")
6
+ label.show()
7
+ sys.exit(app.exec_())